﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace ZhimeiSoft.CharmManager.DOL
{
    public class DBEntityReservationTimeCall : DBEntityBase
    {
        /// <summary>
        /// 表名称
        /// </summary>
        /// <returns></returns>
        public override string GetTableName()
        {
            return "RESERVATIONTIMECALL";
        }

        public DBEntityReservationTimeCall()
            : base()
        {
        }

        public DBEntityReservationTimeCall(DataRow drRow)
        {
            this.RESERVATIONID = Convert.ToInt32(drRow[DBEntityReservationTimeCall.FieldName.RESERVATIONID]);
            this.TIMECALLID = Convert.ToInt32(drRow[DBEntityReservationTimeCall.FieldName.TIMECALLID]);
        }
        /// <summary>
        /// 预约表中的ID
        /// </summary>
        public int RESERVATIONID { get; set; }
        /// <summary>
        /// 提醒表中的ID
        /// </summary>
        public int TIMECALLID { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public static class FieldName
        {
            /// <summary>
            /// 预约表中的ID
            /// </summary>
            public const string RESERVATIONID = "RESERVATIONID";
            /// <summary>
            /// 提醒表中的ID
            /// </summary>
            public const string TIMECALLID = "TIMECALLID";
        }
    }
}
